import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/utils/element'
import '@/styles/index.scss'
import '@/utils/rem'
import '@/permission'
// Component
import pageFooter from '@/components/pageFooter';
import Icon from '@/components/Icon'
//  Directive
import drag from '@/directives/drag'
//  Mixin
import commonMixin from '@/mixins/common'
//  function
import confirm from '@/components/confirm'


Vue.config.productionTip = false


// component
Vue.component('pageFooter', pageFooter)
Vue.component('Icon', Icon)
// directive
Vue.directive('drag', drag)
// mixin
Vue.mixin(commonMixin)
// function
Vue.use(confirm)



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')